home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group01b.txt
/
000169_icon-group-sender_Fri Nov 9 12:40:49 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2002-01-03
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id fA9JeU208015
for icon-group-addresses; Fri, 9 Nov 2001 12:40:30 -0700 (MST)
Message-Id: <200111091940.fA9JeU208015@baskerville.CS.Arizona.EDU>
Date: Fri, 09 Nov 2001 10:39:28 -0500
From: Mark Otto <Mark_Otto@FWS.Gov>
X-Accept-Language: en
To: icon-group@cs.arizona.edu
Subject: Re: mutual evaluation
X-MIMETrack: Itemize by SMTP Server on FW0HUB1/FWS/DOI(Release 5.0.8 |June 18, 2001) at
11/09/2001 08:42:15 AM,
Serialize by Router on FW0HUB1/FWS/DOI(Release 5.0.8 |June 18, 2001) at 11/09/2001
08:42:36 AM,
Serialize complete at 11/09/2001 08:42:36 AM
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 739
One part of Taybin's question I don't think was answered. A result from
#exp(exp,exp,...) is only returned if all expressions mutually evaluated
succeed, so all expressions after the expression returned are evaluted.
Here is a short program where the first expression is returned and
printed out, but the second mutual expression is also evaluated.
procedure main()
a:=1
b:=2
write( 1(a,b:=4) )
write(b)
end
The print out is:
1
4
not:
1
2
Mark
--
Mark Otto, Biological Statistician
Population and Habitat Assessment Section
Migratory Bird Management Division e-mail: M a r k _ O t t o @ F
W S . G o v
U.S. Fish and Wildlife Service
Department of the Interior
11500 American Holly Drive
Laurel, Maryland 20708-4016